<?php
/**
 * @Project NUKEVIET 3.0
 * @Author VINADES.,JSC (contact@vinades.vn)
 * @Copyright (C) 2010 VINADES.,JSC. All rights reserved
 * @Createdate 2-9-2010 14:43
 */
if (! defined ( 'NV_IS_FILE_ADMIN' ))
	die ( 'Stop!!!' );
$id = $nv_Request->get_array( 'idcheck', 'post');
$msg ="";
for ( $i=0;$i<sizeof($id);$i++ )
{
	$query = "DELETE FROM `" . NV_PREFIXLANG . "_" . $module_data . "_rows` WHERE id=" . intval($id[$i]) . "";
	if ($db->sql_query ( $query ))
	{
		$db->sql_freeresult ();
		$msg.= $lang_module ['weblink_del_success'];
	}
	else
	{
		$msg.= $lang_module ['weblink_del_error'];
	}
}
include (NV_ROOTDIR . "/includes/header.php");
echo nv_admin_theme ( $msg );
include (NV_ROOTDIR . "/includes/footer.php");
?>